package com.bd.scm.domain.models.vacation;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author yufc
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("bd_kq_holidays_time")
public class HolidaysTime implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 员工ID
    */
    private Long userSerial;

    /**
    * 部门ID
    */
    private Long userDept;

    /**
    * 年份
    */
    private Integer timeYear;

    /**
    * 月份
    */
    private Integer timeMonth;

    /**
    * id
    */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
    * 存工-平时加班
    */
    private Integer saveOrdinary;

    /**
    * 存工-双休加班
    */
    private Integer saveWeekend;

    /**
    * 欠工
    */
    private Integer owe;

    /**
    * 年假
    */
    private Integer vacationAnnual;

    /**
    * 授乳假
    */
    private Integer vacationLactational;

    /**
    * 存工-平时加班+存工-双休加班
    */
    private Integer restTotal;

    /**
    * 操作人
    */
    private Long operateId;

    /**
    * 操作时间
    */
    private Date operateTime;


}